package com.djz.tool.exception.errorcode;

import com.djz.tool.enums.SystemRespCodeEnum;
import lombok.Getter;
import lombok.Setter;

/**
 * CheckCode
 * @author djz
 */
public enum CheckCode {

    SYS_OPR_SUCCESS(SystemRespCodeEnum.CODE_00000.getCode(), SystemRespCodeEnum.CODE_00000.getDesc());

    @Getter
    @Setter
    private String code;

    @Getter
    @Setter
    private String desc;

    CheckCode(String code, String desc) {
        this.setCode(code);
        this.setDesc(desc);
    }
}
